package com.qingcloud.adminbackend.mapper.message;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qingcloud.adminbackend.entity.message.SysMessageNotify;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 通知方式表 Mapper 接口
 * </p>
 *
 * @author zhoujun
 * @since 2021-11-23
 */
public interface SysMessageNotifyMapper extends BaseMapper<SysMessageNotify> {

    void insertMessageNotifys(@Param("sysMessageNotifies") List<SysMessageNotify> sysMessageNotifies);

    List<SysMessageNotify> findMessageEventById(@Param("eventId") Integer eventId);
}
